﻿/*****************************************************************//**
 * @file    FITKAcousticsVTKGraphObjectSEAShellsBase.h
 * @brief   Graph object base for sub-system shells data.
 *  
 * @author  ChengHaotian (yeguangbaozi@foxmail.com)
 * @date    2024-11-18
 *********************************************************************/

#ifndef __FITKACOUSTICSVTKGRAPHOBJECTSEASHELLSBASE_H__
#define __FITKACOUSTICSVTKGRAPHOBJECTSEASHELLSBASE_H__

#include "FITKAcousticsVTKGraphObjectSEASubSystems.h"

#include "FITKAcousticsVTKGraphAdaptorAPI.h"

// Forward declaration

namespace Exchange
{
    /**
     * @brief   Graph object base for 'sub-system shells'.
     * @author  ChengHaotian (yeguangbaozi@foxmail.com)
     * @date    2024-11-18
     */
    class FITKACOUSTICSGRAPHADAPTORAPI FITKAcousticsVTKGraphObjectSEAShellsBase : public FITKAcousticsVTKGraphObjectSEASubSystems
    {
        // Regist
        FITKGraphObjectRegist(FITKAcousticsVTKGraphObjectSEAShellsBase, FITKAcousticsVTKGraphObjectSEASubSystems);
        FITKCLASS(Exchange, FITKAcousticsVTKGraphObjectSEAShellsBase);

    public:
        /**
         * @brief   Constructor.
         * @param   seaModel: The SEA model data
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-11-18
         */
        FITKAcousticsVTKGraphObjectSEAShellsBase(Acoustics::FITKAcousticsSEAModel* seaModel);

        /**
         * @brief   Destructor.[virtual]
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-11-18
         */
        virtual ~FITKAcousticsVTKGraphObjectSEAShellsBase() = default;

        /**
         * @brief   Set if the graph object pickable mode.[virtual][override]
         * @param   mode: The pickable mode
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-11-19
         */
        virtual void setPickMode(FITKAcousticsVTKCommons::ShapePickMode mode) override;
        /**
         * @brief    获取数据可见性
         * @return   bool           可见性
         * @author   BaGuijun (baguijun@163.com)
         * @date     2025-01-18
         */
        bool getDataVisibility() override;
    protected:
        /**
         * @brief   Generate the actor with the sub-system data.[virtual][override]
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-11-18
         */
        virtual void generateGraph() override;

    };
}   // namespace Exchange

#endif // __FITKACOUSTICSVTKGRAPHOBJECTSEASHELLSBASE_H__
